#include <iostream>

#define N 6

using namespace std;

int sym(int a[N],int n);

int main( )
{
    int a[N],i,n,*p=a;

    for(i=0;i<N;i++)
    {
        cin>>a[i];
    }

    n=sym(a,N);

    if(n==(N/2-1)) cout<<"this array is symmetry"<<endl;
    else cout<<"this array is not symmetry"<<endl;

    cin>>n;
    return 0;
}

int sym(int a[N],int n)
{
    int i,m,k=0;
    m=n/2-1;
    for(i=0;i<m;i++)
    {
        if(a[i]==a[n-1-i]) 
            k++;
    }

    return k;
}

    